package com.hnx.admin.aurora.system.domain.param.sysConfig.form;

import com.hnx.admin.aurora.annotation.KeyField;
import com.hnx.admin.aurora.annotation.RepeatTable;
import com.hnx.admin.aurora.annotation.ValidField;
import com.hnx.admin.aurora.web.json.BaseForm;
import lombok.Data;
import org.springframework.data.annotation.Id;

import javax.validation.constraints.NotEmpty;

/*
创建人： 倔强的头发
创建时间：2025/7/4
功能描述:

*/
@Data
@RepeatTable("sys_config")
public class SysConfigForm extends BaseForm {
    @Id
    @KeyField("config_id")
    private String configId;
    @ValidField(msg = "参数名称不能重复",column = "config_name")
    @NotEmpty(message = "参数名称不能为空")
    private String configName;
    @NotEmpty(message = "参数键名不能为空")
    private String configKey;
    @NotEmpty(message = "参数值名不能为空")
    private String configValue;
    private String configType;
    private String remark;
}
